package com.zy.kotlinmvplib

import android.content.Intent
import android.os.Bundle
import com.zy.kotlinbaselibrary.base.activity.BaseActivity
import kotlinx.android.synthetic.main.act_main2.*

class TestActivity: BaseActivity() {
    override fun initData() {
    }

    override fun initEvent() {
        act_tv.setOnClickListener {
            startActivity(Intent(this, MainActivity().javaClass))
        }
    }

    override fun getLayoutId(savedInstanceState: Bundle?): Int {
        return R.layout.act_main2
    }
}